package com.sgb.kjwl.view.event;

/**
 * Description:
 * Author zhengkewen
 * Time 2018/1/2
 */
public class CategoryEvent {
    int messageTag;
    Object messageData;

    public static CategoryEvent make() {
        return new CategoryEvent();
    }

    public static CategoryEvent make(int tag, Object object) {
        CategoryEvent message = new CategoryEvent();
        return message.setMessageData(object).setMessageTag(tag);
    }

    public int getMessageTag() {
        return messageTag;
    }

    public CategoryEvent setMessageTag(int messageTag) {
        this.messageTag = messageTag;
        return this;
    }

    public Object getMessageData() {
        return messageData;
    }

    public CategoryEvent setMessageData(Object messageData) {
        this.messageData = messageData;
        return this;
    }
}
